package com.app.micaihu.view.army.contract

import com.app.base.mvp.BaseView
import com.app.http.bean.BaseBean
import com.app.micaihu.bean.news.ShareBean
import com.app.micaihu.view.bean.ArmyDetail
import com.app.micaihu.view.bean.ArmyUpgrade

/**
 *军团详情
 */
interface ArmyDetailContract {
    interface View : BaseView {
        fun handleJoin(result: BaseBean<Any?>?) {}
        fun handleDeleteMember(result: BaseBean<Any?>?) {}
        fun handleDetail(result: BaseBean<ArmyDetail?>?) {}
        fun handleShare(result: BaseBean<ShareBean?>?) {}
        fun handleArmyUpgradeSuccess(result: BaseBean<ArmyUpgrade?>?) {}
    }

    interface Presenter {
        fun detail(toUid: String, gid: String)

        fun join(gid: String, msg: String)

        fun deleteMember(gid: String, toUid: String)

        fun share()

        fun armyUpgrade(gid: String)
    }
}